#ifndef BALL_H
#define BALL_H

class Ball{
private:
	double x, y;
	double xspeed, yspeed;
public:
	Ball(double x = 0.0, double y = 0.0,
		double xspeed = 0.0, double yspeed = 0.0);
	double getX()const;
	void setX(double x);

	double getY() const;
	void setY(double y);

	double getXSpeed()const;
	void setXSpeed(double xspeed);

	double getYSpeed()const;
	void setYSpeed(double yspeed);
	void setXY(double x, double y);
	void setXYSpeed(double xspeed, double yspeed);

	void move();
	void print()const;


};
#endif